package com.ruoyi.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.project.domain.entity.ProjectAttachment;
import com.ruoyi.project.domain.entity.ProjectPay;
import com.ruoyi.project.domain.query.ProjectFileQuery;
import com.ruoyi.project.domain.query.ProjectPayQuery;

import java.util.List;

public interface IProjectPayService extends IService<ProjectPay> {

    //分页
    TableDataInfo getPage(ProjectPayQuery query);

    //新增
    Boolean addInfo(ProjectPay project);

    Boolean updateInfo(ProjectPay project);

    Boolean updateIds(ProjectPay project);


    //删除

    Boolean deleteInfo(String id);

    //获取详情

    ProjectPay getInfoById(String id);

    List<ProjectPay> getList(ProjectPayQuery query);

    void deleteByProjectNo(String projectNo);


}
